package cn.shop.transcation.blacklist.entity;

import cn.shop.transcation.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;

import javax.validation.constraints.NotBlank;

/**
 * @author : 李一涵
 * @date : Created in 2021-11-8 11:04
 * @description : 黑名单
 */
public class Blacklist extends BaseEntity {

	/**
	 * 创建渠道 1-总后台，2-商户
	 */
	private Integer source;

	/**
	 * 黑名单账号
	 */
	@TableField(condition = SqlCondition.LIKE)
	private String alipayAccount;

	/**
	 * 备注
	 */
	private String remark;

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public String getAlipayAccount() {
		return alipayAccount;
	}

	public void setAlipayAccount(String alipayAccount) {
		this.alipayAccount = alipayAccount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "{" + super.toString() + "BlackList{" +
				"source=" + source +
				", alipayAccount='" + alipayAccount + '\'' +
				", remark='" + remark + '\'' +
				"}}";
	}

}
